/****************************************************************************
** Meta object code from reading C++ file 'qworkbench_wrapper.h'
**
** Created: Sun Apr 18 19:46:06 2010
**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../scriptmanager/qworkbench_wrapper.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qworkbench_wrapper.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.6.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_Core__Internal__CorePrototype[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   14, // methods
       5,   29, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: signature, parameters, type, tag, flags
      39,   31,   30,   30, 0x0a,
      65,   31,   30,   30, 0x0a,
     102,   30,   94,   30, 0x0a,

 // properties: name, type, flags
     135,  113, 0x00084009,
     169,  150, 0x00084009,
     202,  181, 0x00084009,
     229,  216, 0x00084009,
     251,  240, 0x00084009,

       0        // eod
};

static const char qt_meta_stringdata_Core__Internal__CorePrototype[] = {
    "Core::Internal::CorePrototype\0\0context\0"
    "addAdditionalContext(int)\0"
    "removeAdditionalContext(int)\0QString\0"
    "toString()\0Core::MessageManager*\0"
    "messageManager\0Core::FileManager*\0"
    "fileManager\0Core::EditorManager*\0"
    "editorManager\0QMainWindow*\0mainWindow\0"
    "QSettings*\0settings\0"
};

const QMetaObject Core::Internal::CorePrototype::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Core__Internal__CorePrototype,
      qt_meta_data_Core__Internal__CorePrototype, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Core::Internal::CorePrototype::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Core::Internal::CorePrototype::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Core::Internal::CorePrototype::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Core__Internal__CorePrototype))
        return static_cast<void*>(const_cast< CorePrototype*>(this));
    if (!strcmp(_clname, "QScriptable"))
        return static_cast< QScriptable*>(const_cast< CorePrototype*>(this));
    return QObject::qt_metacast(_clname);
}

int Core::Internal::CorePrototype::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: addAdditionalContext((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: removeAdditionalContext((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: { QString _r = toString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
        _id -= 3;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Core::MessageManager**>(_v) = messageManager(); break;
        case 1: *reinterpret_cast< Core::FileManager**>(_v) = fileManager(); break;
        case 2: *reinterpret_cast< Core::EditorManager**>(_v) = editorManager(); break;
        case 3: *reinterpret_cast< QMainWindow**>(_v) = mainWindow(); break;
        case 4: *reinterpret_cast< QSettings**>(_v) = settings(); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 5;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
static const uint qt_meta_data_Core__Internal__MessageManagerPrototype[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
       5,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: signature, parameters, type, tag, flags
      49,   41,   40,   40, 0x0a,
      91,   86,   40,   40, 0x2a,
     147,  124,   40,   40, 0x0a,
     179,   86,   40,   40, 0x2a,
     214,   40,  206,   40, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_Core__Internal__MessageManagerPrototype[] = {
    "Core::Internal::MessageManagerPrototype\0"
    "\0text,ms\0displayStatusBarMessage(QString,int)\0"
    "text\0displayStatusBarMessage(QString)\0"
    "text,bringToForeground\0"
    "printToOutputPane(QString,bool)\0"
    "printToOutputPane(QString)\0QString\0"
    "toString()\0"
};

const QMetaObject Core::Internal::MessageManagerPrototype::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Core__Internal__MessageManagerPrototype,
      qt_meta_data_Core__Internal__MessageManagerPrototype, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Core::Internal::MessageManagerPrototype::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Core::Internal::MessageManagerPrototype::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Core::Internal::MessageManagerPrototype::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Core__Internal__MessageManagerPrototype))
        return static_cast<void*>(const_cast< MessageManagerPrototype*>(this));
    if (!strcmp(_clname, "QScriptable"))
        return static_cast< QScriptable*>(const_cast< MessageManagerPrototype*>(this));
    return QObject::qt_metacast(_clname);
}

int Core::Internal::MessageManagerPrototype::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: displayStatusBarMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: displayStatusBarMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: printToOutputPane((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 3: printToOutputPane((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: { QString _r = toString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
        _id -= 5;
    }
    return _id;
}
static const uint qt_meta_data_Core__Internal__FileManagerPrototype[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       1,   69, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: signature, parameters, type, tag, flags
      49,   43,   38,   37, 0x0a,
      84,   79,   38,   37, 0x0a,
     106,   79,   38,   37, 0x0a,
     151,   43,  131,   37, 0x0a,
     206,   79,  198,   37, 0x0a,
     247,  238,   38,   37, 0x0a,
     270,  238,  131,   37, 0x0a,
     292,   79,   37,   37, 0x0a,
     322,   79,   37,   37, 0x0a,
     354,  238,   37,   37, 0x0a,
     380,   37,  198,   37, 0x0a,

 // properties: name, type, flags
     403,  391, 0x0b084001,

       0        // eod
};

static const char qt_meta_stringdata_Core__Internal__FileManagerPrototype[] = {
    "Core::Internal::FileManagerPrototype\0"
    "\0bool\0files\0addFiles(QList<Core::IFile*>)\0"
    "file\0addFile(Core::IFile*)\0"
    "removeFile(Core::IFile*)\0QList<Core::IFile*>\0"
    "saveModifiedFilesSilently(QList<Core::IFile*>)\0"
    "QString\0getSaveAsFileName(Core::IFile*)\0"
    "fileName\0isFileManaged(QString)\0"
    "managedFiles(QString)\0"
    "blockFileChange(Core::IFile*)\0"
    "unblockFileChange(Core::IFile*)\0"
    "addToRecentFiles(QString)\0toString()\0"
    "QStringList\0recentFiles\0"
};

const QMetaObject Core::Internal::FileManagerPrototype::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Core__Internal__FileManagerPrototype,
      qt_meta_data_Core__Internal__FileManagerPrototype, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Core::Internal::FileManagerPrototype::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Core::Internal::FileManagerPrototype::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Core::Internal::FileManagerPrototype::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Core__Internal__FileManagerPrototype))
        return static_cast<void*>(const_cast< FileManagerPrototype*>(this));
    if (!strcmp(_clname, "QScriptable"))
        return static_cast< QScriptable*>(const_cast< FileManagerPrototype*>(this));
    return QObject::qt_metacast(_clname);
}

int Core::Internal::FileManagerPrototype::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { bool _r = addFiles((*reinterpret_cast< const QList<Core::IFile*>(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 1: { bool _r = addFile((*reinterpret_cast< Core::IFile*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { bool _r = removeFile((*reinterpret_cast< Core::IFile*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 3: { QList<Core::IFile*> _r = saveModifiedFilesSilently((*reinterpret_cast< const QList<Core::IFile*>(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<Core::IFile*>*>(_a[0]) = _r; }  break;
        case 4: { QString _r = getSaveAsFileName((*reinterpret_cast< Core::IFile*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 5: { bool _r = isFileManaged((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: { QList<Core::IFile*> _r = managedFiles((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<Core::IFile*>*>(_a[0]) = _r; }  break;
        case 7: blockFileChange((*reinterpret_cast< Core::IFile*(*)>(_a[1]))); break;
        case 8: unblockFileChange((*reinterpret_cast< Core::IFile*(*)>(_a[1]))); break;
        case 9: addToRecentFiles((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: { QString _r = toString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
        _id -= 11;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QStringList*>(_v) = recentFiles(); break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 1;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
static const uint qt_meta_data_Core__Internal__FilePrototype[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
       1,   14, // methods
       6,   19, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: signature, parameters, type, tag, flags
      39,   30,   31,   30, 0x0a,

 // properties: name, type, flags
      50,   31, 0x0a084001,
      59,   31, 0x0a084001,
      71,   31, 0x0a084001,
      94,   89, 0x01084001,
     105,   89, 0x01084001,
     116,   89, 0x01084001,

       0        // eod
};

static const char qt_meta_stringdata_Core__Internal__FilePrototype[] = {
    "Core::Internal::FilePrototype\0\0QString\0"
    "toString()\0fileName\0defaultPath\0"
    "suggestedFileName\0bool\0isModified\0"
    "isReadOnly\0isSaveAsAllowed\0"
};

const QMetaObject Core::Internal::FilePrototype::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Core__Internal__FilePrototype,
      qt_meta_data_Core__Internal__FilePrototype, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Core::Internal::FilePrototype::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Core::Internal::FilePrototype::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Core::Internal::FilePrototype::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Core__Internal__FilePrototype))
        return static_cast<void*>(const_cast< FilePrototype*>(this));
    if (!strcmp(_clname, "QScriptable"))
        return static_cast< QScriptable*>(const_cast< FilePrototype*>(this));
    return QObject::qt_metacast(_clname);
}

int Core::Internal::FilePrototype::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { QString _r = toString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
        _id -= 1;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = fileName(); break;
        case 1: *reinterpret_cast< QString*>(_v) = defaultPath(); break;
        case 2: *reinterpret_cast< QString*>(_v) = suggestedFileName(); break;
        case 3: *reinterpret_cast< bool*>(_v) = isModified(); break;
        case 4: *reinterpret_cast< bool*>(_v) = isReadOnly(); break;
        case 5: *reinterpret_cast< bool*>(_v) = isSaveAsAllowed(); break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 6;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
static const uint qt_meta_data_Core__Internal__EditorManagerPrototype[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       2,   44, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: signature, parameters, type, tag, flags
      68,   62,   40,   39, 0x0a,
     149,  110,  105,   39, 0x0a,
     231,  211,  196,   39, 0x0a,
     292,  259,  196,   39, 0x0a,
     336,  329,  325,   39, 0x0a,
     379,   39,  371,   39, 0x0a,

 // properties: name, type, flags
     390,  196, 0x0008400b,
     404,   40, 0x00084009,

       0        // eod
};

static const char qt_meta_stringdata_Core__Internal__EditorManagerPrototype[] = {
    "Core::Internal::EditorManagerPrototype\0"
    "\0QList<Core::IEditor*>\0files\0"
    "editorsForFiles(QList<Core::IFile*>)\0"
    "bool\0editorsToClose,askAboutModifiedEditors\0"
    "closeEditors(const QList<Core::IEditor*>,bool)\0"
    "Core::IEditor*\0fileName,editorKind\0"
    "openEditor(QString,QString)\0"
    "editorKind,titlePattern,contents\0"
    "newFile(QString,QString,QString)\0int\0"
    "editor\0makeEditorWritable(Core::IEditor*)\0"
    "QString\0toString()\0currentEditor\0"
    "openedEditors\0"
};

const QMetaObject Core::Internal::EditorManagerPrototype::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Core__Internal__EditorManagerPrototype,
      qt_meta_data_Core__Internal__EditorManagerPrototype, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Core::Internal::EditorManagerPrototype::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Core::Internal::EditorManagerPrototype::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Core::Internal::EditorManagerPrototype::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Core__Internal__EditorManagerPrototype))
        return static_cast<void*>(const_cast< EditorManagerPrototype*>(this));
    if (!strcmp(_clname, "QScriptable"))
        return static_cast< QScriptable*>(const_cast< EditorManagerPrototype*>(this));
    return QObject::qt_metacast(_clname);
}

int Core::Internal::EditorManagerPrototype::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { QList<Core::IEditor*> _r = editorsForFiles((*reinterpret_cast< QList<Core::IFile*>(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<Core::IEditor*>*>(_a[0]) = _r; }  break;
        case 1: { bool _r = closeEditors((*reinterpret_cast< const QList<Core::IEditor*>(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { Core::IEditor* _r = openEditor((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< Core::IEditor**>(_a[0]) = _r; }  break;
        case 3: { Core::IEditor* _r = newFile((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< Core::IEditor**>(_a[0]) = _r; }  break;
        case 4: { int _r = makeEditorWritable((*reinterpret_cast< Core::IEditor*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 5: { QString _r = toString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
        _id -= 6;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Core::IEditor**>(_v) = currentEditor(); break;
        case 1: *reinterpret_cast< QList<Core::IEditor*>*>(_v) = openedEditors(); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: activateEditor(*reinterpret_cast< Core::IEditor**>(_v)); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
static const uint qt_meta_data_Core__Internal__EditorPrototype[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
       4,   14, // methods
       5,   34, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: signature, parameters, type, tag, flags
      47,   38,   33,   32, 0x0a,
      75,   66,   33,   32, 0x0a,
     111,  104,   89,   32, 0x0a,
     139,   32,  131,   32, 0x0a,

 // properties: name, type, flags
     150,  131, 0x0a084103,
     162,  131, 0x0a084001,
     167,   33, 0x01084001,
     199,  186, 0x00084009,
     213,  204, 0x89084001,

       0        // eod
};

static const char qt_meta_stringdata_Core__Internal__EditorPrototype[] = {
    "Core::Internal::EditorPrototype\0\0bool\0"
    "contents\0createNew(QString)\0fileName\0"
    "open(QString)\0Core::IEditor*\0parent\0"
    "duplicate(QWidget*)\0QString\0toString()\0"
    "displayName\0kind\0duplicateSupported\0"
    "Core::IFile*\0file\0QWidget*\0toolBar\0"
};

const QMetaObject Core::Internal::EditorPrototype::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Core__Internal__EditorPrototype,
      qt_meta_data_Core__Internal__EditorPrototype, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Core::Internal::EditorPrototype::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Core::Internal::EditorPrototype::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Core::Internal::EditorPrototype::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Core__Internal__EditorPrototype))
        return static_cast<void*>(const_cast< EditorPrototype*>(this));
    if (!strcmp(_clname, "QScriptable"))
        return static_cast< QScriptable*>(const_cast< EditorPrototype*>(this));
    return QObject::qt_metacast(_clname);
}

int Core::Internal::EditorPrototype::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { bool _r = createNew((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 1: { bool _r = open((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { Core::IEditor* _r = duplicate((*reinterpret_cast< QWidget*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< Core::IEditor**>(_a[0]) = _r; }  break;
        case 3: { QString _r = toString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
        _id -= 4;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = displayName(); break;
        case 1: *reinterpret_cast< QString*>(_v) = kind(); break;
        case 2: *reinterpret_cast< bool*>(_v) = duplicateSupported(); break;
        case 3: *reinterpret_cast< Core::IFile**>(_v) = file(); break;
        case 4: *reinterpret_cast< QWidget**>(_v) = toolBar(); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setDisplayName(*reinterpret_cast< QString*>(_v)); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
